{*
 * This file is part of the Agora distribution. 
 * Detailed copyright and licensing information can be found
 * in the gpl-3.0.txt file which should be included in the distribution.
 * 
 * @version		$Id: 3.0.14 Olympus 2010-09-28 rammstein4o $
 * @copyright  2007 - 2010 jVitals
 * @license   GPLv3 Open Source
 * @link       http://jvitals.com
 * @since      File available since initial release
 *}	

{$html->toolbar->title('##Forums##')}
{$html->toolbar->save('save_category')}
{$html->toolbar->cancel()}

<form name="adminForm" method="POST">
	{$html->form->param('option','com_agora')}
	{$html->form->param('agora_task','forums')}
	{$html->form->param('task','forums')}

	{if isset($category.id) && $category.id > 0}
		{$html->form->param('form[category_id]',$category.id)}
	{/if}

	<fieldset>
		<legend>##Category parameters##</legend>

		<table class="admintable">
			<tbody>
				<tr>
					{adminform->text var='cat_name' caption='Category name' value=$category.cat_name}
					{adminform->select style='width: 200px;' size=10 var='disp_position' caption='Order' desc='Order_2' keys=$ordering}
					{adminform->select style='width: 200px;' var='icon_style_id' caption='Style' desc='Style_2' keys=$styling selected=$category.icon_style_id}
				</tr>
			</tbody>
		</table>
	</fieldset>
</form>